#![no_std]
#![no_main]

use core::panic::PanicInfo;

use rtx::{osKernelInitialize, osKernelStart};
use stm32f1 as _;


#[allow(non_upper_case_globals, non_snake_case, dead_code, non_camel_case_types)]
mod rtx {
    include!("../rtx_os.rs");
}

#[cortex_m_rt::entry]
unsafe fn main() -> ! {
    osKernelInitialize();
    osKernelStart();
    loop {}
}

#[panic_handler]
fn _ph(_p: &PanicInfo) -> ! {
    loop {}
}
